package org.csu.lestore.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("tbl_item")
public class Item {
    @TableId(value="item_id",type = IdType.INPUT)
    private int itemId;
    private int productId;
    private int stock;
    private BigDecimal price;
    private String attr1;
    private String attr2;
    private String attr3;
    private int itemImg;
}
